package com.jlq.service;

import com.jlq.pojo.Investor;
import com.jlq.vo.InvestorVo;

import java.util.List;
import java.util.Map;

public interface InvestorService {

    //全查
    public Map<String, Object> queryAllInvestor(Integer page, Integer limit,String field, String type, String name);


    //添加
    public String insert(InvestorVo investorVo, String code, String sname);

    //回显
    public Map<String, Object> updateInit(Integer id);

    //删除修改页面的已有股票
    public String deleteInvestorStock(Integer id, Integer stockId);

    //修改
    public String update(Investor investor, String code, String sname);
}
